Questions tagged [resolve]

Domain name resolvers determine the appropriate domain name servers responsible for the domain name in question by a sequence of queries starting with the right-most (top-level) domain label

Domain name resolvers determine the appropriate domain name servers responsible for the domain name in question by a sequence of queries starting with the right-most (top-level) domain label.

The mechanism in this simple form would place a large operating burden on the root servers, with every search for an address starting by querying one of them.

Being as critical as they are to the overall function of the system, such heavy use would create an insurmountable bottleneck for trillions of queries placed every day. In practice caching is used in DNS servers to overcome this problem, and as a result, root nameservers actually are involved with very little of the total traffic.

652 questions
11
votes
1 answer

Getting variable by name in C#

Is there a way to get the value of a variable just by knowing the name of it, like this: double temp = (double)MyClass.GetValue("VariableName"); When I normally would access the variable like this double temp = MyClass.VariableName;
Andreas
  • 6,958
  • 10
  • 38
  • 52
11
votes
2 answers

Use resolve with angularjs component

I am trying to resolve a list of customers prior to rendering a page. Here is the state provider reference, where I have the resolve methods. angular.module('app') .config(($stateProvider) => { $stateProvider .state('customers', { …
11
votes
7 answers

Remove EC2's entry from resolv.conf

I have private DNS servers and I want to write them to resolv.conf with resolvconf on Debian on AWS/EC2. There is a problem in the order of nameserver entries. In my resolv.conf, EC2's default nameserver is always written at first line like so: #…
Takuya Matsuyama
  • 589
  • 1
  • 5
  • 11
11
votes
8 answers

amazon ec2 instance unable to resolve host

I have a bunch of amazon ec2 instances. Today, for no reason I can determine, three of them became unable to resolve a specific url. When I try curl , those three instances say "curl: (6) Could not resolve host", while all the other instances…
Benubird
  • 18,551
  • 27
  • 90
  • 141
10
votes
1 answer

How to use resolve with Angular 1.5 *components* and UI Bootstrap Modal

I am trying to pass data to a ubi modal that is an Angular 1.5 component using resolve. I know this is possible because it shows that resolve is supported for components in the uib modal documentation. component (Type: string, Example: myComponent)…
Cindy Conway
  • 1,814
  • 3
  • 18
  • 19
10
votes
1 answer

Angular 2 nested routes resolve execution

For example if I have following route organization: const appRoutes: Routes = [ { path: "", component: AppComponent, resolve: { app: AppResolver }, children: [ { …
Vlatko
  • 1,385
  • 1
  • 18
  • 35
9
votes
1 answer

Angular routing resolver not resolving

I'm having a situation with Angular where a routing data resolver seems like it's poised to return data correctly, but then resolution never happens. It's especially odd because I have a parallel arrangement for another component and it's working…
9
votes
1 answer

promise resolve before inner promise resolved

I have a promise and I want it to resolve only when inner promise has resolved. Right now it resolves before the "resolve" function has been reached in the "loadend" callback. What am I missing? I am confused about the way you are supposed to use…
Nicolas
  • 2,191
  • 3
  • 29
  • 49
9
votes
4 answers

How to speedup perforce auto resolve?

I would like to know how to speedup the perforce auto resolve when doing integration (merge yours and theirs if no conflicts exists). Currently is taking hours for ~5000 files when running it using a proxy server even if the proxy server has the…
sorin
  • 161,544
  • 178
  • 535
  • 806
8
votes
3 answers

Can class_addMethod in Objective-C work only on a specific instance?

I am trying to write some dynamic code where a user can try calling a method from a specific instance of a class and have it be resolved at runtime. The implementation to retrieve the information exists but the method to access it does not because…
gtaborga
  • 773
  • 3
  • 13
  • 18
8
votes
4 answers

Wait an event to resolve a promise

I am using a node.js module that has a method without callbacks. Instead of it, has an event that fires when that method has finished. I want resolve a promise, using that event as callback securing me that method has been completed succesfully.…
Tomas Gonzalez
  • 129
  • 1
  • 1
  • 9
8
votes
2 answers

URL's not being resolved when in UserControl (ASP.NET)

If I pass the derived class testA a PlaceHolder that contains a Hyperlink, with a url that starts with a tilde, it resolves it correctly. However, when I pass testB (identical apart from it inherits from System.Web.UI.UserControl) the same…
maxp
  • 24,209
  • 39
  • 123
  • 201
8
votes
1 answer

Is it ok to do the $http get request on ui.router's resolve in angularjs?

I have the following code (below), they work perfectly for me and to what I need at least. But Im kind of skeptical about this, Im having a feeling that its too good to be true. Since Im struggling with $http's async behavior this helped me a lot to…
jofftiquez
  • 7,548
  • 10
  • 67
  • 121
8
votes
2 answers

PHPStorm can't resolve absolute include paths

I'm pretty new to PHPStorm, but I've ran into this problem where PHPStorm can't resolve the path which starts at the root of my project folder. Like this: PHPStorm can resolve the path when I put dirname(__dir__) in front of the name, but then…
Ruben
  • 441
  • 5
  • 14
8
votes
2 answers

Resolve Windows drive letter to a path (subst and network)

I wonder if there is a universal way of resolving a path using a drive letter (such as X:\foo\bar.txt) into its equivalent UNC path, which might be one of the following: X:\foo\bar.txt if X: is a real drive (i.e. hard disk, USB stick,…
Pierre Arnaud
  • 10,212
  • 11
  • 77
  • 108
1 2
3
43 44